<?php

/**
 * Lang form.
 *
 * @package    sf_sandbox
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfPropelFormTemplate.php 10377 2008-07-21 07:10:32Z dwhittle $
 */
class LangForm extends BaseLangForm
{
  public function configure()
  {

  	    $this->setWidgets(array(
      'id'    => new sfWidgetFormInputHidden(),
      'title' => new sfWidgetFormInput(array(),array('size'=>100)),
    ));
  	 $this->widgetSchema->setNameFormat('lang[%s]');
  	$this->embedI18n(sfContext::getInstance()->getUser()->getLangs());
  	
  }
}
